package com.ruicar.afs.cloud.admin.api.feign;

import com.ruicar.afs.cloud.common.core.security.vo.RoleVo;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "${com.ruicar.service-names.admin-server}",contextId = "sys-role-info")
public interface AfsRoleFeign {
    @GetMapping(value = "/role/getAllList")
    IResponse<List<RoleVo>> getAllList();
}
